<?php
$config['QUOTE_VERSION'] = 1;

// 微信帐号信息
$config['WECHAT_TOKEN'] = 'testfordurexbyxiaohei';
$config['WECHAT_APPID'] = 'wx39e8426a1a4ed0c6';
$config['WECHAT_SECRET'] = '7507010cdccd4cde96d054ba3de63c24';
$config['WECHAT_ACCESS_TOKEN'] = ''; // 待删除

// 微信接口
$config['WECHAT_API_GET_ACCESS_TOKEN'] = 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s';
$config['WECHAT_API_UP_MEDIA'] = 'curl -F media=@%s "http://file.api.weixin.qq.com/cgi-bin/media/upload?access_token=%s&type=%s"';
//{"type":"TYPE","media_id":"MEDIA_ID","created_at":123456789}
//{"errcode":40004,"errmsg":"invalid media type"}
$config['WECHAT_API_DOWN_MEDIA'] = 'curl -s -o %s "http://file.api.weixin.qq.com/cgi-bin/media/get?access_token=%s&media_id=%s"';
//{"errcode":40007,"errmsg":"invalid media_id"}

$config['SCWS_DISC_DUREX'] = '/home/wwwroot/slab.admin/htdocs/other/scws/durex.txt';
$config['SCWS_RULE_UTF8'] = '/home/wwwroot/slab.admin/htdocs/other/scws/rules.utf8.ini';

$config['BASE_MATERIAL_TYPE'] = array(
	0 => '未知',
	1 => '单图文',
	2 => '多图文',
	3 => '图片',
	4 => '语音',
	5 => '视频',
	6 => '文本'
);

$config['BASE_MESSAGE_TYPE'] = array(
		0 => '全部',
		1 => '文本',
		2 => '图片',
		3 => '语音',
		4 => '视频',
		5 => '地理位置',
		6 => '链接',
		7 => '音乐',
		8 => '图文'
);
